<?php
class School_proclamationModel extends CommonModel {
	protected $_validate	 =	 array(
		array('title','require','请填写标题！',1),
		array('content','require','请填内容！',1)
		);
	protected $_auto	 =	 array(
		array('FBSJ','time',self::MODEL_INSERT,'function'),
		array('teacher_id','getteacher',1,'callback'),
		array('school_id','getschool',1,'callback'),
		array('proclamation_type_id','1',1,''),
		);



	
}